{% extends"cms/Base.html" %}

{% block title %}
    <title>图书管理</title>
{% endblock %}

{% block head %}
    <script src="../../static/cms/js/bookjs.js"></script>
{% endblock %}

{% block body %}
    <div class="container-fluid center row">
        <div class="list-group col-2 offset-1">
          <a href="{{ url_for("cms.cms_book_home") }}" class="list-group-item list-group-item-action" aria-current="true">
            图书馆首页
          </a>
          <a href="{{url_for("cms.cms_book_info")}}" class="list-group-item list-group-item-action">图书信息</a>
          <a href="{{url_for("cms.borrow_info")}}" class="list-group-item list-group-item-action">还书业务</a>
          <a href="{{url_for("cms.add_book")}}" class="list-group-item list-group-item-action">新书入馆</a>
        </div>

        <div class="col-8">
            {% block book_body %}
                <div class="jumbotron jumbotron-fluid">
                  <div class="container">
                    <h1 class="display-4">图书管理首页</h1>
                  </div>
                </div>
            {% endblock %}
        </div>

    </div>
{% endblock %}